		  </body>
</html>

		<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
        <script type="text/javascript" src="js/jquery-fluid16.js"></script>
       	
		<script type="text/javascript" src="js/jquery-ui-1.8.21.custom.min.js"></script>
   		<script type="text/javascript" src="js/jquery.ui.datepicker-pt-BR.js"></script>
        
        <script src="http://datejs.googlecode.com/files/date.js"></script>
        
		

    	<!-- bibliotecas -->
        <script type="text/javascript" src="bibliotecas/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
        <script type="text/javascript" src="bibliotecas/fancybox/jquery.fancybox.js?v=2.0.6"></script>
    	<script type="text/javascript" src="bibliotecas/fancybox/jquery.easing-1.3.pack.js"></script>
        <script src="js/jquery.maskedinput-1.1.4.pack.js"></script>
        
        
        <script type="text/javascript" src="js/FuncoesPadrao.js"></script>
        <script type="text/javascript" src="js/clientes.js"></script>
        <script type="text/javascript" src="js/usuario.js"></script>
        
        <script>
			$(document).ready(function(){
			
				//carrega as tabelas para gerar os arquivos 
				$('#buscar').click(function(){
					
					$('.area_tabelas').load('scafold.php?acao=buscarTabelas',{banco:$('#nomebanco').val()});
				
				});
				 
				//gera os arquivos 
				$('#gerar').click(function(){
				
					$.post('scafold.php?acao=gerarArquivos',{tabela:$('#tabelas').val() , arquivo:$('#nomearquivo').val()},function(data){
					
						alert(data);
					});
				});
				
				 
		   }); // fim do document ready
			
		
		</script>
        
        
  